package com.example.entity.department;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ChenXiaoBin
 * on 2019-07-04
 */
@Data
public class DepartmentTreeBO {
    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "部门ID")

    private Integer id;

    @ApiModelProperty(value = "上级部门ID")
    private String parentId;

    @ApiModelProperty(value = "子部门")
    private List<DepartmentTreeBO> children;
}
